<? 
    session_start();
	include ("core/conn.php");

	$db = get_conn();
	
	$extraitems ="<option value=''>".get_texto(170)."</option>";
	$javascript =" onchange='load_models(this.value)'";


	$sqlquery="	select b.id_brand as myvalue, b.name as mydesc from brands b , `object_brands` ob where b.bstatus='A' and ob.id_obj = ".$_GET['id_obj']." and  ob.id_brand = b.id_brand order by name ";
	echo dbcombosql($sqlquery,"property_91",$_GET['id'],$javascript,$extraitems);
?>
